package com.cjjd.c.feature.mine.favorite;

import com.cjjd.c.base.BaseSwipeRefreshFragment;
import com.cjjd.c.base.MyBaseAdapter;
import com.cjjd.c.bean.HttpResult;

import java.util.ArrayList;
import java.util.List;

import retrofit2.Call;
import retrofit2.Response;

/**
 * ----------------------------------
 * Created by xyd on 2017/8/15.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class FavoriteFragment extends BaseSwipeRefreshFragment {
    @Override
    public Object getTitleString() {
        return "酒店收藏";
    }

    @Override
    public void responseSuccess(Call<HttpResult> call, Response<HttpResult> response) {

    }

    @Override
    public MyBaseAdapter getAdapter() {
        return new FavoriteAdapter(mContext);
    }

    @Override
    public Call<HttpResult> getCall() {

        List list = new ArrayList();
        list.add("1");
        setDataList(list);
        return null;
    }
}
